package com.alks.function.data.dto.stockdept.pcfactorystockwork;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
public class DrawDetailDto {

    private Integer id;

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "取料类型")
    private String slipType;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "部门名字")
    private String deptName;

    @ApiModelProperty(value = "部门ID")
    private String deptNo;

    @ApiModelProperty(value = "材料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "材料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "订单号")
    private String slipNo;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "订单日期")
    private LocalDate slipDateShow;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "材料名")
    private String mtlName;

    @ApiModelProperty(value = "替代物料ID")
    private String mtlNo2;

    @ApiModelProperty(value = "请领量")
    private BigDecimal reqQty;

    @ApiModelProperty(value = "用量")
    private BigDecimal ttlUsage;

    @ApiModelProperty(value = "已发数量")
    private BigDecimal actQty;

    @ApiModelProperty(value = "未发数量")
    private BigDecimal unActQty;

    @ApiModelProperty(value = "库存余量")
    private BigDecimal stkQty;

    @ApiModelProperty(value = "材料ID")
    private String mtlNo;

    @ApiModelProperty(value = "补料单号")
    private String supplementNo;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "取消标志")
    private String cancelFlag;

    @ApiModelProperty(value = "变色标志")
    private String colorFlag;

    @ApiModelProperty(value = "海关编码")
    private String mtlNoHg;

    @ApiModelProperty(value = "英文名")
    private String mtlNameEng;

}
